home *** CD-ROM | disk | FTP | other *** search
/ The Ultimate Frank Lloyd…ght - America's Architect / Ultimate Frank Lloyd Wright, The - America's Architect (1994)(Microsoft Home).iso / pre / flw / flwat03.dir / 00113_Script_113 < prev    next >
Text File  |  1994-11-15  |  6KB  |  222 lines

  1. on startMovie
  2.   global nowFrame, lastFrame, currMM, reEntry, stateOn, stepNow, dialogOn
  3.   global rolledAlready, thumbTrack, showText, switchState,jmpFrame
  4.   set dialogOn = FALSE
  5.   set stepNow = FALSE
  6.   set switchState = FALSE
  7.   set stateOn = FALSE
  8.   set rolledAlready = FALSE
  9.   set showText = FALSE
  10.   set nowFrame = "atusa000000n°°"
  11.   set currMM = "FLWWW"
  12.   puppetSprite 10, TRUE
  13.   puppetSprite 21, TRUE
  14.   puppetSprite 22, TRUE
  15.   puppetSprite 23, TRUE
  16.   set the immediate of sprite 23 to TRUE
  17.   set the stretch of sprite 23 to FALSE
  18. end startMovie
  19.  
  20. on stepMovie
  21.   global nowFrame,currFrame
  22.   if nowFrame  <> currFrame then
  23.     seeAlsoList
  24.     set currFrame = nowFrame
  25.   end if
  26. end stepMovie
  27.  
  28. on stopMovie
  29.   set the castNum of sprite 21 to 1050
  30.   puppetSprite 21, FALSE
  31.   put " " into field "seeAlsoText"
  32.   updateStage
  33. end stopMovie
  34.  
  35. on scrollRoll
  36.   global switchState
  37.   
  38.   if rollover(13) then
  39.     set the forecolor of sprite 13 to 228
  40.   else
  41.     set the forecolor of sprite 13 to 255
  42.   end if
  43.   
  44.   if rollover(14) then
  45.     set the forecolor of sprite 14 to 228
  46.   else
  47.     set the forecolor of sprite 14 to 255
  48.   end if
  49.   
  50.   if the castNum of sprite 7 = 112 then
  51.     if the castNum of sprite 13 <> the number of cast "nextTxUp" then
  52.       set the castNum of sprite 13 to the number of cast "nextTxRt"
  53.     end if
  54.     set the castNum of sprite 14 to the number of cast "prevTxNull"
  55.   else if the castNum of sprite 7 = 108 then
  56.     set the castNum of sprite 13 to the number of cast "nextTxNull"
  57.     if the castNum of sprite 14 <> the number of cast "prevTxUp" then
  58.       set the castNum of sprite 14 to the number of cast "prevTxRt"
  59.     end if
  60.   else
  61.     if the castNum of sprite 13 <> the number of cast "nextTxUp" then
  62.       set the castNum of sprite 13 to the number of cast "nextTxRt"
  63.     end if
  64.     if the castNum of sprite 14 <> the number of cast "prevTxUp" then
  65.       set the castNum of sprite 14 to the number of cast "prevTxRt"
  66.     end if
  67.   end if
  68.   
  69.   updateStage
  70. end scrollRoll
  71.  
  72. on multiScreenPup
  73.   puppetSprite 7, TRUE
  74.   puppetSprite 8, TRUE
  75.   puppetSprite 11, TRUE
  76.   puppetSprite 13, TRUE
  77.   puppetSprite 14, TRUE
  78. end multiScreenPup
  79.  
  80. on saveLocals
  81.   global lastFrame, nowFrame, lastMovie
  82.   set lastFrame = nowFrame
  83.   set lastMovie = the movie
  84. end saveLocals
  85.  
  86. on buttonState
  87.   global FrankNav
  88.   global thumbTrack, thumbFrame, bflag, dialogOn
  89.   
  90.   if dialogOn = FALSE then
  91.     
  92.     glassCheck
  93.     scrollRoll
  94.     
  95.     -- don't check global buttons unless mouse is down at bottom
  96.     if (the mouseV > 300) or (bFlag = TRUE) then
  97.       doState
  98.     end if
  99.   end if
  100. end buttonState
  101.  
  102. on atForStep
  103.   puppetSprite 7, FALSE
  104.   puppetSprite 8, FALSE
  105.   puppetSprite 11, FALSE
  106.   puppetSprite 13, FALSE
  107.   puppetSprite 14, FALSE
  108.   if the frame = 50 then
  109.     go to movie "FLWAT04"
  110.   else
  111.     go to marker(+1)
  112.   end if
  113.   updateStage
  114. end atForStep
  115.  
  116. on atBackStep
  117.   puppetSprite 7, FALSE
  118.   puppetSprite 8, FALSE
  119.   puppetSprite 11, FALSE
  120.   puppetSprite 13, FALSE
  121.   puppetSprite 14, FALSE
  122.   if the frame < 3 then
  123.     go to frame "at000bld024°°°" of movie "FLWAT02"
  124.   else
  125.     go to marker(-1)
  126.   end if
  127.   updateStage
  128. end atBackStep
  129.  
  130. on textRoll txHt
  131.   global origLocV, rolledAlready, topHat, horNess, dialogOn, SeeAlsoBox
  132.   if dialogOn = FALSE and SeeAlsoBox = FALSE then
  133.     set topHat = txHt
  134.     if rolledAlready = FALSE then
  135.       set origLocV = the locV of sprite 8
  136.     end if
  137.     
  138.     if the mouseH < 414 and the mouseV > 366 and the mouseV < 429 then
  139.       set the locV of sprite 8 to txHt
  140.       set rolledAlready = TRUE
  141.     else if the mouseH > 414 or the mouseV > 429 or the mouseV < topHat then
  142.       set the locV of sprite 8 to origLocV
  143.     end if
  144.   end if
  145. end textRoll
  146.  
  147. on glassCheck
  148.   if the frame < 157 then
  149.     if rollOver(10) then 
  150.       set the castNum of sprite 10 to 199
  151.     else
  152.       set the castNum of sprite 10 to 2
  153.     end if
  154.   end if
  155.   updateStage
  156. end glassCheck
  157.  
  158. on ill1
  159.   global switchState
  160.   if switchState = FALSE then
  161.     set the castNum of sprite 7 to 112
  162.     set the castNum of sprite 11 to 106
  163.   end if
  164. end ill1
  165.  
  166. on ill2
  167.   global switchState
  168.   if switchState = FALSE then
  169.     set the castNum of sprite 7 to 111
  170.     set the castNum of sprite 11 to 106
  171.   end if
  172. end ill2
  173.  
  174. on ill3
  175.   global switchState
  176.   if switchState = FALSE then
  177.     set the castNum of sprite 7 to 110
  178.     set the castNum of sprite 11 to 106
  179.   end if
  180. end ill3
  181.  
  182. on ill4
  183.   global switchState
  184.   if switchState = FALSE then
  185.     set the castNum of sprite 7 to 109
  186.     set the castNum of sprite 11 to 106
  187.   end if
  188. end ill4
  189.  
  190. on ill5
  191.   global switchState
  192.   if switchState = FALSE then
  193.     set the castNum of sprite 7 to 108
  194.     set the castNum of sprite 11 to 106
  195.   end if
  196. end ill5
  197.  
  198. on nextList
  199.   global switchState
  200.   puppetSprite 11, FALSE
  201.   puppetSprite 13, FALSE
  202.   puppetSprite 14, FALSE
  203.   set switchState = TRUE
  204.   if rollover(13) then
  205.     set currCast = the castNum of sprite 7
  206.     set the castNum of sprite 7 to (the number of cast currCast - 1)
  207.     set the castNum of sprite 11 to 202
  208.   end if
  209. end nextList
  210.  
  211. on prevList
  212.   global switchState
  213.   puppetSprite 11, FALSE
  214.   puppetSprite 13, FALSE
  215.   puppetSprite 14, FALSE
  216.   set switchState = TRUE
  217.   if rollover(14) then
  218.     set currCast = the castNum of sprite 7
  219.     set the castNum of sprite 7 to (the number of cast currCast + 1)
  220.     set the castNum of sprite 11 to 202
  221.   end if
  222. end prevList